package com.lin.mapper;

import com.lin.pojo.Product;

import java.util.List;
import java.util.Map;

public interface ProductMapper {
    List<Product> getAllProduct();

    Product getProductByChoose(Product product);

    List<Product> getProductBySpecifiedId(Map<String, Object> map);

    int updateProductById(Product product);

    int addProduct(Product product);
}
